# -*- coding: utf-8 -*-

from app import app
from flask_login import current_user
from user import user
app.register_blueprint(user)  # 蓝图

from download import download
app.register_blueprint(download)

from upload import upload
app.register_blueprint(upload)

from view import view
app.register_blueprint(view)

from user_manage import user_manage
app.register_blueprint(user_manage)

from data_manage import data_manage
app.register_blueprint(data_manage)

from flask import request
import os
from flask import jsonify
from models import File, Record
from app import db
import json
from models import User

ALLOWED_EXTENSIONS = set(['png', 'jpg', 'xlsx'])

import time


if __name__ == '__main__':
    app.run(port=5000)
